/**
 * =================================================================
 * 版权所有 2011-2013 深圳市泰海网络科技服务有限公司，并保留所有权利
 * -----------------------------------------------------------------
 * 这不是一个自由软件！您不能在任何未经允许的前提下对程序代码进行修改和使用；
 * 不允许对程序代码以任何形式任何目的的再发布
 * =================================================================
 */
package com.imoney.payment.web.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.imoney.payment.web.common.PathCode;
import com.imoney.payment.web.utils.MenuUtil;

/**
 * 类说明：交易记录<br>
 * 
 * <p>
 * 详细描述：<br>
 * 
 * </p>
 * <pre>
 * ——————————————————————————————————————————————————————————————————
 * |		修改人		|		修改时间			|		修改原因
 * ——————————————————————————————————————————————————————————————————
 * |	zengxx 曾宪新	|		2013-5-31		|	
 * ——————————————————————————————————————————————————————————————————
 * </pre>
 * 
 * @author zengxx 曾宪新(Xavier.zeng)
 * 
 * CreateDate: 2013-5-31
 */
@Controller
@RequestMapping("/consume")
public class ConsumeController {
	
	
	
	@RequestMapping(value = "record/index.htm", method=RequestMethod.GET)
	public String index(final Model model, final HttpServletRequest request) {
		MenuUtil.getMenuItem(0, 2, 0);
		
		
		return PathCode.CONSUME_INDEX;
	}
	
	/**
	 * 方法说明：付款确认<br>
	 * 
	 * @param model
	 * @param request
	 * @return
	 */
	@RequestMapping(value = "buyerConfirmTrade.htm", method=RequestMethod.GET)
	public String buyerConfirm(final Model model, final HttpServletRequest request) {
		MenuUtil.getMenuItem(0, 2, 0);
		
		
		return PathCode.CONSUME_INDEX;
	}
	
	@RequestMapping(value = "record/inpour.htm", method=RequestMethod.GET)
	public String inpour(final Model model, final HttpServletRequest request) {
		
		
		
		return PathCode.CONSUME_INPOUR;
	}
	
	@RequestMapping(value = "record/draw.htm", method=RequestMethod.GET)
	public String draw(final Model model, final HttpServletRequest request) {
		
		
		
		return PathCode.CONSUME_DRAW;
	}
	
}
